package cn.janescott.restjson.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * json rest controller
 *
 * @author scott
 * @date 2018/12/11
 */
@Controller
public class JsonRestController {

    @RequestMapping("/getJson")
    public String getJson() {
        return "jsonView";
    }

}
